home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 51 / Mac Magazin and MacEasy Magazine CD - Issue 51.iso / Software / Mobiles Büro / Sonstiges / Melody Pilot ƒ / Music Formats < prev    next >
Text File  |  1998-07-29  |  4KB  |  94 lines

  1. Comparison of Music Box and HyperCard Music Notations
  2.  
  3. [Written by Robert Jen (http://www.rjen.com or mailto:rjen@rjen.com), author of Melody Pilot.  Please see Tan Kok Mun's Music Box documentation for more details on Music Box format and the HyperCard documentation for more details on the HyperCard play command.]
  4.  
  5. The following is a brief comparison of Music Box and HyperCard music notations.
  6.  
  7. Notes
  8.   Music Box - there is no default note.
  9.         {note}
  10.                 where note is A, B, C, D, E, F, or G for the white notes or a, c, d, f, or g for the
  11.                 corresponding black, sharp notes.
  12.  
  13.   HyperCard - default note is whatever the sound resource is recorded at (middle C for
  14.             the built-in instruments).
  15.         {note}
  16.                 where note is a, b, c, d, e, f, or g.  These can be made sharp by adding a # suffix
  17.                 (e.g. c# is C-sharp) or flat by adding a b suffix (e.g. db is D-flat).
  18.  
  19. Note Duration
  20.   Music Box - default note duration is 1 (whole note).  Duration changes remain in
  21.             effect until the next duration change.
  22.         L{length}
  23.                 where length is from 1 to 64 and 1 represents a whole note, 2 a half note, 4 a
  24.                 quarter note, 8, an eighth note, 16 asixteenth note, 32 a thirty-second note, and
  25.                 64 a sixty-fourth note.
  26.         .
  27.                 placed after a note lengthens its duration by 50%.    Note that although Music Box
  28.                 does not explicitly support triplets, these can be emulated for all but whole and
  29.                 sixty-fourth notes by using lengths 3, 6, 12, 24, and 48 (instead of 2, 4, 8, 16,
  30.                 and 32 respectively).
  31.  
  32.   HyperCard - default note duration is q (quarter note).  Duration changes remain in
  33.              effect until the next duration change.
  34.         {length}
  35.                 where length is w for a whole note, h for a half note, q for a quarter note, e for
  36.                 an eighth note, s for a sixteenth note, t for a thirty-second note, and x for a
  37.                 sixty-fourth note.
  38.         .
  39.                 placed after a note duration lengthens its duration by 50%.
  40.         3
  41.                 placed after a note duration converts the note to a triplet (reduces duration by
  42.                 50%).
  43.  
  44. Octave
  45.   Music Box - default octave is supposed to be octave 3, which starts with middle C,
  46.             but it's probably better to specify one.  Octave changes remain in effect until the
  47.             next octave change.
  48.         O{octave}
  49.                 where octave ranges from 1 to 6 (Tan's doc says 0 to 6, but the notes in octave 0
  50.                 aren't correct).
  51.         <
  52.                 move down 1 octave from previous note.
  53.         >
  54.                 move up 1 octave from previous note.
  55.  
  56.   HyperCard - default octave is octave 4, which starts with middle C.  Octave changes
  57.             remain in effect until the next octave change.
  58.         {octave}
  59.                 after note and before optional duration, where octave ranges from 1 to 7.
  60.  
  61. Rests
  62.   Music Box
  63.         P{length}
  64.                 where length is the same as for note duration above.
  65.  
  66.   HyperCard
  67.         r{length}
  68.                 where length is the same as for note duration above.
  69.  
  70. Tempo
  71.   Music Box - tempo is required to be set before any notes can be played.
  72.         T{tempo}
  73.                 where tempo ranges from 32 to 255 quarter notes per minute.
  74.  
  75.   HyperCard - default tempo is 120
  76.         tempo {tempo}
  77.                 where tempo ranges from 32 to 30000 quarter notes per minute and is passed to
  78.                 the play command as additional parameters after the instrument.
  79.  
  80. Style
  81.   Music Box
  82.         M{style}
  83.                 where style is 1 for legato, 2 for normal, and 3 for staccato.
  84.  
  85.     HyperCard - not supported.
  86.  
  87. Instrument
  88.   Music Box - not supported.
  89.  
  90.   HyperCard
  91.         {instrument}
  92.                 passed as first argument to play command.  HyperCard comes bundled with
  93.                 Harpsichord, flute, and Boing instruments.  Other "snd " resources can be
  94.                 installed using a resource editor.